package com.mapforge.map.tools.undo.tilesetedit;

import javax.swing.ImageIcon;

import com.mapforge.map.Tileset;
import com.mapforge.map.tools.undo.UndoRedo;

public abstract class AbstractTilesetEdit extends UndoRedo {
	protected Tileset tileset;

	public AbstractTilesetEdit(Tileset tileset, ImageIcon icon,
			String description) {
		super(icon, description);
		this.tileset = tileset;
	}

	public void setTileset(Tileset tileset) {
		this.tileset = tileset;
	}

	public Tileset getTileset() {
		return tileset;
	}

}
